package org.mozhu.mboot.admin.system.privilege.web.controller;

import org.mozhu.mboot.admin.system.privilege.entity.Role;
import org.mozhu.mboot.admin.system.privilege.service.RoleService;
import org.mozhu.mboot.core.web.bind.annotation.ControllerDefaults;
import org.mozhu.mboot.core.web.controller.BaseCRUDController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/system/privilege/role")
@Controller
@ControllerDefaults(resourceIdentity = "system:role")
public class RoleController extends BaseCRUDController<Role, Long> {

	protected RoleService getBaseService() {
		return (RoleService) baseService;
	}

}